import Vue from 'vue'
import app from './components/App.vue'

// 配置路由
import VueRouter from 'vue-router'
Vue.use(VueRouter)
// 导入路由对象
import router from './router.js'
//导入全局配置
import './globalConfig.js'

//导入store,初始化状态管理
import store from './store.js'
const vm = new Vue({
    el:'#app',
    render:c => c(app),
    router,
    store,
})